﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using MP3Ganizer.Common.Interfaces.Infrastructure;
using Microsoft.Practices.Unity;
using Microsoft.Practices.Composite.Regions;
using Microsoft.Practices.Composite.Events;
using MP3Ganizer.Common.BaseObject;
using MP3Ganizer.BusinessObject.Services.Configuration;

namespace MP3Ganizer.Modules.Infrastructure.Controllers
{
    public class InfrastructureController : BaseModuleController, IInfrastructureController 
    {
        public InfrastructureController(IUnityContainer container, IRegionManager regionManager, IEventAggregator eventAggregator)
            : base(container, regionManager, eventAggregator)
        {
        }
        protected override void SubscribeCompositeEvent()
        {
        }
        public override void Run()
        {
            IConfigurationService service = _container.Resolve<IConfigurationService>();
            service.LoadConfig();
        }

    }
}
